apportion the costs to the sides